home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / _GUICtrlMonthCalGetMaxSelCount.au3 < prev    next >
Text File  |  2006-06-17  |  357b  |  15 lines

  1. #include <GUIConstants.au3>
  2. #include <date.au3>
  3. #include <GuiMonthCal.au3>
  4.  
  5. opt('MustDeclareVars', 1)
  6.  
  7. Dim $Date
  8.  
  9. GUICreate( "Get Max Sel Count", 210, 190)
  10.  
  11. $Date = GUICtrlCreateMonthCal (_NowCalcDate(), 10, 10)
  12. GUISetState()
  13.  
  14. MsgBox(0, "Total number of days that can be selected for the control.", _GUICtrlMonthCalGetMaxSelCount ($Date), 10)
  15.